package com.qf.mapper;/*
 *徐韬
 *2021/11/4
 *15:01
 */

import com.qf.pojo.Params;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface paramMapper {
    @Select("select * from params")
    List<Params>  selectAll();
    @Insert("insert into params values(#{name},#{param1},#{param2},#{param3})")
    int insertParams(Params params);
    int updateParams(Params params);
    int delete(@Param("names") List<Integer> names);
}
